package com.forum.module.blog.controller.category.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;

/**
 * 功能:
 * 作者:ouyzh
 * 日期:2025/3/3 20:15
 */
@Schema(description = "博客管理 - 分类信息 Response VO")
public class CategoryRespVO {
    @Schema(description = "编号", example = "1")
    private Long id;

    @Schema(description = "分类名称", example = "技术")
    private String name;

    @Schema(description = "排序值（数值越小排序越靠前）")
    private Long sort;

    @Schema(description = "创建时间", example = "2024-01-02 12:00:00")
    private LocalDateTime createTime;

    @Schema(description = "更新时间", example = "2024-01-02 12:00:00")
    private LocalDateTime updateTime;

    @Schema(description = "创建人", example = "1")
    private Long creator;

    @Schema(description = "更新人", example = "1")
    private Long updater;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Long getUpdater() {
        return updater;
    }

    public void setUpdater(Long updater) {
        this.updater = updater;
    }
}
